﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Factur_IT
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            bool loggedIn = FacturIT.Service.FacturITManager.Instance.IsLoggedID();
            
            if (loggedIn == true)
                lblName.Text = Session["UserFullName"].ToString();
            else Response.Redirect("~/Account/login.aspx");
        }

            
    }
}